<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
           <%
	//检查会话中是否有 "sg" 属性
	Object fdyObj = session.getAttribute("sg");
	if (fdyObj == null) {
	    response.sendRedirect("Login.jsp");
	    return;
	}
%>   
    
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>宿管页面</title>
<link href="../css/Utils.css" rel="stylesheet" type="text/css" />
<link href="../css/List.css" rel="stylesheet" type="text/css" />
<!-- 退出登录专用 -->
    <script type="text/javascript" src="Loginout.js"></script>
</head>
<body>

<!-- 头部 -->
<div class="header" ><br>
<nerong>&nbsp;&nbsp;宿管页面&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;</nerong>

 <button onclick="confirmLogout('<%= (String)session.getAttribute("sg") %>','sg')">退出登录</button>

</div><br>

<div class="left" >
<table width="80%" height="80%">
<th>
<nerong>宿管可选择内容</nerong>

</th>
<tr>
<td>
<a href="../View_Msg/msgSg.jsp">&emsp;个人信息</a><br>
</td>
</tr>

<tr>
<td>
<a href="../View_SuShe/SuSheSG_List.jsp">&emsp;楼栋学生信息查询</a><br>
</td>
</tr>
<tr>

<td bgcolor=#1a7dba>
<a href="../View_fix/SgFix.jsp">&emsp;公物报修</a><br>

</td>
</tr>

<tr>
<td>
<a href = "../View_WeiGui/WeiGuiSG.jsp">&emsp;宿舍违规信息处理</a><br>
</td>
</tr>

</table>

</div>



<div class="context" >


<!-- 报修表单内容 -->

<h2 align="center">公共设施维修表</h2>



<form action="../FixServlet" method="post">
<ni>楼号：</ni>
<select name="building" style="width:50px;height:25px">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
<ni>楼层：</ni>
<select name="floor" style="width:50px;height:25px">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select><br><br>
<ni>预约时间：</ni>
<input name="appointmentDate" type="date" style="width:150px;height:25px">
<br><br>
<ni>选择时段：</ni>
<select name="timeSlot" style="width:150px;height:25px">
<option>早上（8:00-11:00）</option>
<option>下午（2:00-5:00）</option>
<option>晚上（8:00-10:00）</option>
</select><br><br>
<ni>具体描述：</ni>
<textarea name="description" cols="50" rows="8"></textarea><br><br>
<!-- <ni>上传图片（可选）：</ni>
<input type="file" name="image"><br><br> -->

<input type="submit" value="提交">
<input type="button" onclick="window.location.href='../RecordFixSg';"value="查看提交记录">
</form>




</div>
</body>
</html>